Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODCanvas


SetBiasTransform

The SetBiasTransform method assigns the specified bias transform to this canvas.

void SetBiasTransform (in ODTransform x);
x
A reference to the bias transform to assign to this canvas.
DISCUSSION
The bias transform is calculated by concatenating the internal transform (if any) of this canvas's owning frame with the internal transform of the root frame. You can use this method to add a vertical flip and offset between frames of graphics systems whose coordinate spaces have different handedness; for example, Mac OS- and Windows-based frames on an OS/2 system.

After this method executes successfully, any preexisting bias transform is released and this canvas owns the new transform. You can call the AcquireBiasTransform method of this canvas to obtain a reference to the resulting bias transform.

You should release the transform object x immediately after passing it as a parameter to this method, without using or modifying it further.

SEE ALSO
The ODCanvas::AcquireBiasTransform method (page 66).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help